#pragma once
void greetings(void);
int create_socket(void);
void bind_to_port(struct sockaddr_in client_addr, int sockfd);
void listen_to_port(int sockfd, int backlog);
int accept_connections(int sock_listen);
void send_message(int client_sock, char *info, char *extra);
int recv_message(int client_sock);
int validate_username(char *username);
int validate_password(char *password, int mode);
void user_login(int client_sock);
void command_handler(int client_sock);
void handle_client_request(void *arg);
